package org.teiid.translator.cassandra;

import javax.resource.cci.Connection;

import com.datastax.driver.core.KeyspaceMetadata;
import com.datastax.driver.core.ResultSet;

/**
 * Connection to Cassandra NoSql database.
 * @author Kouba
 * */
public interface CassandraConnection extends Connection{
	
	/**
	 * 
	 * */
	public ResultSet executeQuery(String query);
	
	/**
	 * return metadata about cassandra keyspace
	 * */
	public KeyspaceMetadata keyspaceInfo();
	
}
